#ifndef _COM_USART2_H_
#define _COM_USART2_H_

#include "stm32f10x.h"
#include "systick.h"

#include "stdio.h"
#include "string.h"
#include "stdarg.h"

#include "com_timer.h"

extern uint8_t  Usart2ReadBuf[100];
extern uint16_t Usart2ReadFlag;

// 判断串口01接收完成
void ESP_Printf(char* fmt,...);
void Sys_Usart2RecComplete(uint32_t Std_1ms);
void Sys_Usart2SendStr(char *ch);
void Sys_Usart2SendData(uint8_t *ch,uint16_t len);
void Sys_Usart2Init(uint32_t bound);

#endif
